  'use strict';
function getcycle(data){
	var arr = new Array();
/*	
	week = [
		{k:"",v:"1"}
	]*/
	if(data=='day'){
		arr.push('<label class="btn btn-default" >请选择时间段</label>');

		
	}else if (data=='week') {
		arr.push(
				{key:"周一",value:"1"},
				{key:"周二",value:"2"},
				{key:"周三",value:"3"},
				{key:"周四",value:"4"},
				{key:"周五",value:"5"},
				{key:"周六",value:"6"},
				{key:"周日",value:"7"}
				);

		
	}else if (data=='month') {
		arr.push(
			{key:"01",value:"1"},
			{key:"02",value:"2"},
			{key:"03",value:"3"},
			{key:"04",value:"4"},
			{key:"05",value:"5"},
			{key:"06",value:"6"},
			{key:"07",value:"7"},
			{key:"08",value:"8"},
			{key:"09",value:"9"},
			{key:"10",value:"10"},
			{key:"11",value:"11"},
			{key:"12",value:"12"},
			{key:"13",value:"13"},
			{key:"14",value:"14"},
			{key:"15",value:"15"},
			{key:"16",value:"16"},
			{key:"17",value:"17"},
			{key:"18",value:"18"},
			{key:"19",value:"19"},
			{key:"20",value:"20"},
			{key:"21",value:"21"},
			{key:"22",value:"22"},
			{key:"23",value:"23"},
			{key:"24",value:"24"},
			{key:"25",value:"25"},
			{key:"26",value:"26"},
			{key:"27",value:"27"},
			{key:"28",value:"28"},
			{key:"29",value:"29"},
			{key:"30",value:"30"},
			{key:"31",value:"31"}
			);

		
	}

	return arr ;
}
function check(data){

	$(data).toggleClass('bgColor');



}